package cn.wolfcode.luowow.comment.service;

import cn.wolfcode.luowow.comment.domain.TravelComment;
import cn.wolfcode.luowow.comment.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

/**
 * 游记评论游记
 */
public interface ITravelCommentService {
    /**
     * 添加操作
     * @param strategyComment
     */
    TravelComment saveOrUpdate(TravelComment strategyComment);

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page query(TravelCommentQuery qo);

    /**
     * 查看个数
     * @param travelId
     * @return
     */
    long getCount(Long travelId);
}
